/**
 * AdService.java 上午10:33:34 2012-5-2
 * Cyber Information Technology Co.,Ltd.
 *   
 *   http://www.citchina.cn
 *   citchina.org@gmail.com
 */
package cn.cit.wcif.ad.biz;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.cit.wcif.ad.api.IAd;
import cn.cit.wcif.ad.api.IAdMutable;
import cn.cit.wcif.ad.api.IAdService;
import cn.cit.wcif.ad.api.persistence.IAdPersistenceService;

/**
 * @author Jonathan
 * @version 1.0
 * 
 */
@Service
@Transactional
public class AdService implements IAdService {
	@Autowired(required = false)
	@Qualifier("adPersistenceServiceImpl")
	private IAdPersistenceService adPersistenceService;

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.ad.api.IAdService#createAd()
	 */
	@Override
	public IAdMutable createAd() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.ad.api.IAdService#saveAd(cn.cit.wcif.ad.api.IAd)
	 */
	@Override
	public IAd saveAd(IAd ad) {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.ad.api.IAdService#modifyAd(cn.cit.wcif.ad.api.IAd)
	 */
	@Override
	public IAd modifyAd(IAd ad) {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.ad.api.IAdService#findAdById(long)
	 */
	@Override
	public IAd findAdById(long id) {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.ad.api.IAdService#pageAd(int, int)
	 */
	@Override
	public List<IAd> pageAd(int pageSize, int perPage) {
		// TODO Auto-generated method stub
		return null;
	}

}
